---
title: Task.Delete Method (Project)
ms.prod: project-server
api_name:
- Project.Task.Delete
ms.assetid: 18129d17-2dc5-1de6-1e16-642bbd191f8f
ms.date: 06/08/2017
---


# Task.Delete Method (Project)

Deletes the  **Task** object from a **Tasks** collection.


## Syntax

 _expression_. **Delete**

 _expression_ A variable that represents a **Task** object.


